package com.project.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.sql.Timestamp;

@TableName("user_live_course_booking")
@Data
@EqualsAndHashCode(callSuper = false)
public class UserLiveCourseBooking implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "user_id")
    private Integer userId;

    @TableField(value = "course_id")
    private  Integer course_id;

    @TableField(value = "booking_time")
    private Timestamp booking_time;

    @TableField(value = "status")
    private Integer status;

}
